<template>
  <view class="pageTitle between-center">
    <h6>{{ title }}</h6>
    <view class="more">
      <span @click="handleClick">更多 >></span>
    </view>
  </view>
</template>

<script>
export default {
  name: "pageTitle",
  props: {
    title: String,
    url: String,
  },
  data() {
    return {};
  },

  mounted() {},
  methods: {
    handleClick() {
      uni.navigateTo({ url: this.url });
    },
  },
};
</script>

<style scoped>
.pageTitle {
  margin-top: 40upx;
  margin-bottom: 40upx;
  font-size: 28upx;
}
.more {
  color: #999;
  font-size: 20upx;
}
</style>
